import request from "@/utils/request";
import qs from 'qs'
function GetSort(data) {
    // https://ys.endata.cn/enlib-api/api/rowpiece/getRowPiece_MovieIndexChart_List.do
    return request.post('/enlib-api/api/rowpiece/getRowPiece_MovieIndexChart_List.do',qs.stringify(data),
    {
        headers: {
            "Content-Type": "application/x-www-form-urlencoded"
        }
    })
}

// https://gw.newrank.cn/api/ixigua/nr/app/ixigua/rank/ability
function GetAuthor(data){
    return request.post('/ability',data,{
        headers:{
            "Content-Type": "application/json",
            "n-token":"e16a9f76963a43278348d0410bcdb95b",
        }
    })
}
export {GetSort,GetAuthor}